package com.ruoyi.db.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户基本信息对象 lq_member_base_info
 * 
 * @author ruoyi
 * @date 2023-08-22
 */
public class MemberBaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long uid;

    /** 日期 */
    @Excel(name = "日期")
    private String dateInfo;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    public String getEndDateInfo() {
        return endDateInfo;
    }

    public void setEndDateInfo(String endDateInfo) {
        this.endDateInfo = endDateInfo;
    }

    public String getStartDateInfo() {
        return startDateInfo;
    }

    public void setStartDateInfo(String startDateInfo) {
        this.startDateInfo = startDateInfo;
    }

    private String startDateInfo;
    private String endDateInfo;

    private String startCreateTime;
    private String endCreateTime;

    public String getStartCreateTime() {
        return startCreateTime;
    }

    public void setStartCreateTime(String startCreateTime) {
        this.startCreateTime = startCreateTime;
    }

    public String getEndCreateTime() {
        return endCreateTime;
    }

    public void setEndCreateTime(String endCreateTime) {
        this.endCreateTime = endCreateTime;
    }

    /** 手机md5 */
    @Excel(name = "手机md5")
    private String mobileMd5;

    /** 渠道号 */
    @Excel(name = "渠道号")
    private String channelCode;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    private String channelName;

    /** 注册应用 */
    @Excel(name = "注册应用")
    private String regAppCode;

    /** 用户授信额度 */
    @Excel(name = "用户授信额度")
    private BigDecimal creditLimitAmount;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realname;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idcard;

    /** 用户类型（1 正常用户）（0 测试用户）（2 管理用户） */
    @Excel(name = "用户类型", readConverterExp = "1=,正=常用户")
    private Long type;

    public String getTypes() {
        return types;
    }

    public void setTypes(String types) {
        this.types = types;
    }

    private String types;

    /** 注册类型 */
    @Excel(name = "注册类型")
    private Long regType;

    /** 注册ip */
    @Excel(name = "注册ip")
    private String regReqIp;

    /** 用户状态 */
    @Excel(name = "用户状态")
    private Long status;

    /** 是否已经认证 */
    @Excel(name = "是否已经认证")
    private Long authFlag;

    /** 是否已经人脸 */
    @Excel(name = "是否已经人脸")
    private Long faceFlag;

    /** 是否已上传资质 */
    @Excel(name = "是否已上传资质")
    private Long sourceFlag;



    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setDateInfo(String dateInfo) 
    {
        this.dateInfo = dateInfo;
    }

    public String getDateInfo() 
    {
        return dateInfo;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setMobileMd5(String mobileMd5) 
    {
        this.mobileMd5 = mobileMd5;
    }

    public String getMobileMd5() 
    {
        return mobileMd5;
    }
    public void setChannelCode(String channelCode) 
    {
        this.channelCode = channelCode;
    }

    public String getChannelCode() 
    {
        return channelCode;
    }
    public void setChannelName(String channelName) 
    {
        this.channelName = channelName;
    }

    public String getChannelName() 
    {
        return channelName;
    }
    public void setRegAppCode(String regAppCode) 
    {
        this.regAppCode = regAppCode;
    }

    public String getRegAppCode() 
    {
        return regAppCode;
    }
    public void setCreditLimitAmount(BigDecimal creditLimitAmount) 
    {
        this.creditLimitAmount = creditLimitAmount;
    }

    public BigDecimal getCreditLimitAmount() 
    {
        return creditLimitAmount;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setRealname(String realname) 
    {
        this.realname = realname;
    }

    public String getRealname() 
    {
        return realname;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setRegType(Long regType) 
    {
        this.regType = regType;
    }

    public Long getRegType() 
    {
        return regType;
    }
    public void setRegReqIp(String regReqIp) 
    {
        this.regReqIp = regReqIp;
    }

    public String getRegReqIp() 
    {
        return regReqIp;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAuthFlag(Long authFlag) 
    {
        this.authFlag = authFlag;
    }

    public Long getAuthFlag() 
    {
        return authFlag;
    }
    public void setFaceFlag(Long faceFlag) 
    {
        this.faceFlag = faceFlag;
    }

    public Long getFaceFlag() 
    {
        return faceFlag;
    }
    public void setSourceFlag(Long sourceFlag) 
    {
        this.sourceFlag = sourceFlag;
    }

    public Long getSourceFlag() 
    {
        return sourceFlag;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uid", getUid())
            .append("dateInfo", getDateInfo())
            .append("mobile", getMobile())
            .append("mobileMd5", getMobileMd5())
            .append("channelCode", getChannelCode())
            .append("channelName", getChannelName())
            .append("regAppCode", getRegAppCode())
            .append("creditLimitAmount", getCreditLimitAmount())
            .append("username", getUsername())
            .append("realname", getRealname())
            .append("idcard", getIdcard())
            .append("type", getType())
            .append("regType", getRegType())
            .append("regReqIp", getRegReqIp())
            .append("status", getStatus())
            .append("authFlag", getAuthFlag())
            .append("faceFlag", getFaceFlag())
            .append("sourceFlag", getSourceFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
